//
//  HWZhanghaoCellCell.m
//  HWanGame
//
//  Created by 陈道斌 on 2019/9/17.
//  Copyright © 2019 Chendaobin. All rights reserved.
//

#import "HWZhanghaoCellCell.h"

@interface HWZhanghaoCellCell()
//@property(strong,nonatomic) UIImageView *icoimageView;


@end

@implementation HWZhanghaoCellCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self setupUI];
        
    }
    
    
    return  self;
}

- (void)setupUI {
    
    self.icoimageView  = [[UIImageView alloc]initWithFrame:CGRectMake(14, 0, kScreenW-28, 120)];
    self.icoimageView.image = [UIImage imageNamed:@"165_ico"];
    self.icoimageView.contentMode =  UIViewContentModeScaleAspectFill;
    [ self.icoimageView  setClipsToBounds:YES];
    [self.contentView addSubview: self.icoimageView];
    
    
    
    
}

@end
